package com.piccolo.wrapper.client.component.Overlay;

import com.piccolo.wrapper.client.component.PBounds;
import com.piccolo.wrapper.client.component.JSNI.PShapeJSNI;
import com.piccolo.wrapper.client.component.PShape.Shape;

public class PShapeOverlay extends PNodeOverlay 
{
	private static PShapeJSNI impl = new PShapeJSNI(); 

	protected PShapeOverlay(){}

	public static PShapeOverlay create(Shape shape, String fillstyle, PBounds bounds)
	{
		return impl.create(shape, fillstyle, bounds.getOverlay());
	}

	public static PNodeOverlay create(Shape shape, String fillStyle, PBounds bounds, String text, String font) 
	{
		return impl.create(shape, fillStyle, bounds.getOverlay(), text, font);
	}
}
